import { NavigationContainer } from "@react-navigation/native";
import { createNativeStackNavigator } from "@react-navigation/native-stack";
import { Text, View } from "react-native";

// import { Text } from "react-native";

const Stack = createNativeStackNavigator();
function HomeScreen() {
  return (
    <View style={{ flex: 1, alignItems: "center", justifyContent: "center" }} >
      <Text>Home Screen123456</Text>
    </View>
  );
}
function RootNavigator() {
  return (
    <Stack.Navigator initialRouteName="Home" screenOptions={{headerShown: false} }>
      <Stack.Screen name="Home" component={HomeScreen} />
    </Stack.Navigator>
  );
}
export default function App() { 
 return <NavigationContainer>
  <RootNavigator />
 </NavigationContainer>

}
// export default function App() {
//   return <><Text>123</Text></>
// }